package com.wwj.server.game.common;

public class MsgConstants {
    //******************** GameServer协议 ********************
    //GameServer注册绑定ControlServer协议
    public static final String GAME_SERVER_BIND = "gc_bind";
    public static final String GAME_SERVER_BIND_ACK = "cg_bind_ack";
    //GameServer控制
    public static final String GAME_SERVER_CMD = "gc_cmd";
    public static final String GAME_SERVER_CMD_ACK = "cg_cmd_ack";

    public static final String GAME_SERVER_GAME_RESULT = "cg_game_result";

    //******************** User协议 ********************
    //用户连接协议
    public static final String USER_CONNECT = "ug_connect";
    public static final String USER_CONNECT_ACK = "gu_connect_ack";

    //用户控制协议
    public static final String USER_CMD = "ug_cmd";
    public static final String USER_CMD_ACK = "gu_cmd_ack";

    //反馈用户抓取结果协议
    public static final String USER_GAME_RESULT = "gu_game_result";

    public static final String USER_DISCONNECT = "ug_disconnect";
    public static final String USER_DISCONNECT_ACK = "gu_disconnect_ack";


    public static final String GAME_SERVER_HEARTBEAT = "gc_heartbeat";
    public static final String GAME_SERVER_HEARTBEAT_ACK = "cg_heartbeat_ack";

    //断线重连协议
    public static final String USER_RECONNECT = "ug_reconnect";
    public static final String USER_RECONNECT_ACK = "gu_reconnect_ack";

}
